Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validations to exchange action in sessions controller #52

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

emilykim13
Copy link
Collaborator

This PR...

Adds validations to the #exchange action in sessions_controller.rb. It is validating the presence of resource: and subject_token_type:.

Follow these steps to test this PR:

Run bundle exec rspec spec/requests/oauth/sessions_controller_spec.rb

@emilykim13 emilykim13 requested a review from dickdavis July 3, 2024 03:23
@emilykim13
Copy link
Collaborator Author

image Sorry for the little commits, I was trying to figure out what my github wasn't properly linking the commits. It should be properly linked now to the right email. It was set to some strange email before 😅 @dickdavis

@emilykim13 emilykim13 force-pushed the en-validate-token-exchange-params branch 3 times, most recently from 08b2933 to 0d4dc59 Compare July 9, 2024 22:36
@emilykim13 emilykim13 force-pushed the en-validate-token-exchange-params branch from 0d4dc59 to 6111686 Compare July 9, 2024 22:52
@emilykim13 emilykim13 merged commit a4c40c6 into main Jul 10, 2024
3 checks passed
@emilykim13 emilykim13 deleted the en-validate-token-exchange-params branch July 10, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants